import serial

ser = serial.Serial("COM11", 115200, timeout=1)

if __name__ == '__main__':
    while True:
        ser.write("a".encode())